import { IPSControlNavContext } from './ipscontrol-nav-context';
import { PSControlNavParamImpl } from './pscontrol-nav-param-impl';

export class PSControlNavContextImpl extends PSControlNavParamImpl implements IPSControlNavContext {
  get cls(): string {
    return 'PSControlNavContextImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.IPSControlNavContext' || cls == 'control.IPSNavigateContext') return true;
    return super.instanceof(cls);
  }
}
